package com.sias.hello.model;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 吴文杰
 * @version 1.0
 * @createTime 2023-05-22 19:38:25
 */
@Component
@ConfigurationProperties(prefix = "hello.english")
public class English {
  private String speak;
  private String eat;

  public String getSpeak() {
    return speak;
  }

  public void setSpeak(String speak) {
    this.speak = speak;
  }

  public String getEat() {
    return eat;
  }

  public void setEat(String eat) {
    this.eat = eat;
  }
}
